snippet HWTEST_F "huawei test suit" b
HWTEST_F(${1}, ${2}, testing::ext::TestSize.Level0)
{
    ${0}
}
endsnippet

snippet IPC "ohos l2 IPC" b
class I${1} : public IRemoteBroker {
public:
    enum {
    };

    DECLARE_INTERFACE_DESCRIPTOR(u"I${1}");
};

class ${1} : public IRemoteStub<I${1}> {
public:
    virtual int OnRemoteRequest(uint32_t code, MessageParcel &data,
                                MessageParcel &reply, MessageOption &option) override;
};

class ${1}Proxy : public IRemoteProxy<I${1}> {
public:
    ${1}Proxy(const sptr<IRemoteObject>& impl) : IRemoteProxy<I${1}>(impl) {}

private:
    static inline BrokerDelegator<${1}Proxy> delegator_;
};
endsnippet

snippet ns "namespace" b
namespace ${1:OHOS} {
} // namespace ${1}
endsnippet

snippet copyright "huawei copyright" b
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved.
 * Description: ${2}
 * Author: luwenhui
 * Create: 2021-${1}
 */

endsnippet

snippet note "note" b
/*< ${1} >*/
endsnippet
